package cn.jasonone.jasonfx.factory;

import lombok.Setter;

/**
 * 实体工厂
 * 
 * @author Jason
 * @date: 2020-01-25 15:09
 */
public class BeanFactory {
	@Setter
	private static BeanBuilder builder;

	public static <T> T getBean(String name, Class<T> type) {
		return builder.getBean(name, type);
	}
}
